// file http-server.js
var https = require('https');
var fs = require('fs');
var options = {
      key: fs.readFileSync('./ssl/server-key.pem'),
      cert: fs.readFileSync('./ssl/server.pem')

};
https.createServer(options, function(req, res) {
      res.writeHead(200);
      res.end('hello world');

}).listen(8000);
